﻿@model Limestone.MVC.EditPageModel
@{
    Layout = "~/areas/limestone/views/shared/_layout.cshtml";
}
<link href="/Content/Limestone.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/Scripts/limestone.js"></script>
<div class="limestone_select_template">
    <h2>
        Select template</h2>
    <table class="table table-condensed table-striped table-bordered">
        @foreach (var pageTemplate in ViewBag.Templates)
        {
            <tr>
                <td>
                    @Html.ActionLink((string)pageTemplate.Name, "Edit", "Editor", new { parentPagePath = Model.ParentPagePath, templatePath = pageTemplate.Path, cancelUrl = Model.CancelUrl }, null)
                </td>
            </tr>
        }
    </table>
</div>
